public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.Add(1);
        myArrayList.Add(2);
        myArrayList.add(0,3);
        myArrayList.remove(1);
        System.out.println(myArrayList.indexOf(3));
       // myArrayList.Show();

    }
}
